Class LocalDateTimeXmlAdapter


  • public class LocalDateTimeXmlAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.time.LocalDateTime>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(java.time.LocalDateTime localDateTimeObject)  
      java.time.LocalDateTime unmarshal​(java.lang.String localDateTimeString)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalDateTimeXmlAdapter

        public LocalDateTimeXmlAdapter()
    • Method Detail

      • unmarshal

        public java.time.LocalDateTime unmarshal​(java.lang.String localDateTimeString)
                                          throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.time.LocalDateTime>
        Throws:
        java.lang.Exception
      • marshal

        public java.lang.String marshal​(java.time.LocalDateTime localDateTimeObject)
                                 throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.time.LocalDateTime>
        Throws:
        java.lang.Exception